package com.xin.springbootjurisdiction.dataobject;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * 角色表
 */
@Entity
@Data
@DynamicUpdate
public class RoleInfo {
    @Id
    private  String roleId;  //角色ID

    private String name;  //角色名称

    private Date  createTime;  //创建时间

    private Date updateTime;   //修改时间
}
